﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nop.Core.IO;
using Nop.Core.Log.Service;

namespace Nop.Core.Log
{
    public class LogManager
    {
        private static readonly LogManager logManager;
        private static ILog _log;

        private LogManager()
        {
            _log = new LogImpl(new TableStorage());
        }

        static LogManager()
        {
            logManager = new LogManager();
        }

        public static LogManager GetInstance()
        {
            return logManager;
        }

        public ILog GetILog()
        {
            return _log;
        }

        public void SetStorage()
        {

        }

    }
}
